package cn.yj.relay.core.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 永健
 * @since 2020-03-03 04:36
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value ="tb_admin")
public class Admin extends Model<Admin>
{
    private static final long serialVersionUID = 1L;



    @TableId(type = IdType.AUTO)
    private Integer id;


    private String loginName;


    private String password;


    private String token;


    @TableField(fill= FieldFill.INSERT)
    private Date createTime;

    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date updateTime;


}